<%@ page import="com.ecomm.security.functiontree.FunctionInfo" %>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ include file="/include/currentuserinfo.jsp" %>
<%
String functionid=request.getParameter("functionid");
FunctionInfo info=null;
if(functionid!=null)
{
    info=sessionmng.getFunctionInfoByID(functionid);
    if(info.getIsleaf()==1)                   //如果是叶子节点
    {
        response.sendRedirect(info.getUrl());
    }
}
%>
<html>
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" language="javascript"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no" style="border:0px">
	<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="2" height="100%">
				<iframe src="menutree.jsp?functionid=<%=functionid%>" style="height: 100%; width: 100%" name="frmLeft"></iframe>
			</td>
		</tr>
		<tr>
			<td height="0" style="font-size:0px;">
			</td>
			<td height="0" align="right" style="font-size:0px;padding-right:10px;">
				<div id="divleftbutton" style="position:absolute; z-index:51; top: 38%; display:block; width: 10;">
					<iframe src="<%=ctxpath%>/themes/newstyle/frame/button.html" style="height: 45; width: 10;" frameborder="0" scrolling="no"></iframe>
				</div>
			</td>
		</tr>
	</table>
</body>
</html>
